package com.gtw.modules.sys.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.gtw.modules.entity.TbCommodity;

import java.util.List;
import java.util.Map;

/**
 * 商品表
 *
 * @author wuye
 * @email www.baidu.com
 * @date 2018-02-01 10:46:46
 */
public interface SysCommodityService {

    TbCommodity queryObject(Integer id);

    void save(TbCommodity commodity);

    void update(TbCommodity commodity);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);

    Page<TbCommodity> queryPageList(Page<TbCommodity> pageUtil, Map<String, Object> map);

    List<TbCommodity> findAll();

}
